package think.in.spring.bean;

import org.springframework.beans.factory.annotation.Autowired;
import think.in.spring.ioc.overview.domain.User;

import javax.annotation.Resource;

import lombok.Getter;

/**
 * 测试字段注入
 */
@Getter
public class UserHolder1 {

    @Autowired
    private User user;

    @Resource
    private User user1;
}
